package com.xiu.weixin.pojo.message;

import java.util.Map;

import com.thoughtworks.xstream.annotations.XStreamAlias;

@XStreamAlias("xml")
public class VoiceMessage extends Message {
	@XStreamAlias("Voice")
	private Voice voice;

	public VoiceMessage(Map<String, String> reqMap, Voice voice) {
		super(reqMap);
		this.setMsgType("voice");
		this.voice = voice;
	}

	public Voice getVoice() {
		return voice;
	}

	public void setVoice(Voice voice) {
		this.voice = voice;
	}

}
